package com.cgnpc.scp.manager.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.bean.MyPageRequest;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;
import java.util.List;


@TableName("tbl_manager_datadict")
public class DataDict extends MyPageRequest {
    @TableId
    private String id;

    private String lang;

    private String dictGroupKey;

    private String dictKey;

    private String dictText;

    private String dictDesc;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    private String isValid;

    private String systemDataDict;

    private Integer orderIndex;

    private String formatDictGroupKey;

    // begin 自定义的字段
    @TableField(exist = false)
    private List<String> dictGroupKeyList;
    // end 自定义的字段

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang == null ? null : lang.trim();
    }

    public String getDictGroupKey() {
        return dictGroupKey;
    }

    public void setDictGroupKey(String dictGroupKey) {
        this.dictGroupKey = dictGroupKey == null ? null : dictGroupKey.trim();
    }

    public String getDictKey() {
        return dictKey;
    }

    public void setDictKey(String dictKey) {
        this.dictKey = dictKey == null ? null : dictKey.trim();
    }

    public String getDictText() {
        return dictText;
    }

    public void setDictText(String dictText) {
        this.dictText = dictText == null ? null : dictText.trim();
    }

    public String getDictDesc() {
        return dictDesc;
    }

    public void setDictDesc(String dictDesc) {
        this.dictDesc = dictDesc == null ? null : dictDesc.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid == null ? null : isValid.trim();
    }

    public String getSystemDataDict() {
        return systemDataDict;
    }

    public void setSystemDataDict(String systemDataDict) {
        this.systemDataDict = systemDataDict == null ? null : systemDataDict.trim();
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public String getFormatDictGroupKey() {
        return formatDictGroupKey;
    }

    public void setFormatDictGroupKey(String formatDictGroupKey) {
        this.formatDictGroupKey = formatDictGroupKey == null ? null : formatDictGroupKey.trim();
    }

    public List<String> getDictGroupKeyList() {
        return dictGroupKeyList;
    }

    public void setDictGroupKeyList(List<String> dictGroupKeyList) {
        this.dictGroupKeyList = dictGroupKeyList;
    }
}